#import "SMRManagingWindowController.h"


@implementation SMRManagingWindowController

@synthesize managedObjectContext = managedObjectContext_;

-(id)initWithWindowNibName:(NSString *)nibName managedObjectContext:(NSManagedObjectContext *)moc {
    if (!(self = [super initWithWindowNibName:nibName]))
        return nil;
    [self setManagedObjectContext:moc];
    return self;
}

- (id)initWithWindowNibName:(NSString *)nibName {
    [NSException raise:@"SRManagingWindowController exception" format:@"An instance of a SRManagingWindowController concrete subclass was initialized using the XSWindowController method -initWithWindowNibName:"];
	return nil;
}

@end
